home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload Trio 2 / Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO / dir30 / eerems11.zip / EEREM.MAK < prev    next >
Text File  |  1994-10-23  |  2KB  |  74 lines

  1. # MAKE file for EEREM using Watcom 9.5 WMAKE.  You may have to change
  2. #  the paths to the AutoCAD files here and in the .LNK files; my AutoCAD
  3. #  DOS is in C:\ACAD12 and my AutoCAD Windos is in D:\ACAD12_W.
  4.  
  5. # Usage:
  6. #  WMAKE /f eerem.mak system=DOS
  7. #        or
  8. #  WMAKE /f eerem.mak system=WIN
  9. #        For debugging, add DEBUG=TRUE to the end of the command line
  10.  
  11. # Pointers to AutoCAD; assuming each has an ADS subdirectory and the Windows
  12. #  version has an ADS\WIN subdirectory.
  13.  
  14. acad_dos_path=c:\acad12\
  15. acad_win_path=d:\acad12_w\
  16.  
  17. # Set up for Windows or DOS:
  18.  
  19. !ifeq system WIN
  20. !ifeq DEBUG TRUE
  21. wcc_command=/d2 /DWIN=1 /DWATWIN=1 /s /j /fpi87 /3s /zW /oiltpm
  22. wlink_command=DEBUG ALL LIBPATH $(acad_win_path)ADS @eeremwin.lnk FILE $(acad_win_path)ADS\WINADS.OBJ
  23. !endif
  24. !ifneq DEBUG TRUE
  25. wcc_command=/DWIN=1 /DWATWIN=1 /s /j /fpi87 /3s /zW /oiltpm
  26. wlink_command=LIBPATH $(acad_win_path)ADS @eeremwin.lnk FILE $(acad_win_path)ADS\WINADS.OBJ
  27. !endif
  28. wbind_command=wbind eerem -R /v /i$(acad_win_path)ads\win eerem.rc eerem.exe
  29. final_ext=EXE
  30. object_files=eer_core.obj eer_dlg.obj eer_intf.obj eer_main.obj eer_util.obj $(acad_win_path)ADS\WINADS.OBJ
  31. !endif
  32.  
  33. !ifeq system DOS
  34. !ifeq DEBUG TRUE
  35. wcc_command=/fpi87 /s /3s /oiltpm /d2
  36. wlink_command=DEBUG ALL LIBPATH $(acad_dos_path)ads @eeremdos.lnk
  37. !endif
  38. !ifneq DEBUG TRUE
  39. wcc_command=/fpi87 /s /3s /oiltpm
  40. wlink_command=LIBPATH $(acad_dos_path)ads @eeremdos.lnk
  41. !endif
  42. wbind_command=
  43. final_ext=EXP
  44. object_files=eer_core.obj eer_dlg.obj eer_intf.obj eer_main.obj eer_util.obj
  45. !endif
  46.  
  47. # Use implicit rule for .C extensions
  48.  
  49. .c.obj:
  50.         wcc386 $[* $(wcc_command) 
  51.  
  52. # Define how to link
  53.  
  54. eerem.$(final_ext) : $(object_files)
  55.         wlink $(wlink_command)
  56. !ifeq system WIN
  57.         $(wbind_command)
  58. !endif
  59.  
  60. # Define dependencies for compiling
  61.  
  62. eer_core.obj : eer_core.c eerem.h
  63.  
  64. eer_dlg.obj : eer_dlg.c eerem.h
  65.  
  66. eer_intf.obj : eer_intf.c eerem.h
  67.  
  68. eer_main.obj : eer_main.c eerem.h
  69.  
  70. eer_util.obj : eer_util.c eerem.h
  71.  
  72.  
  73.  
  74.